<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../CSS/index.css">
    <link rel="stylesheet" href="../CSS/reset.css">
    <link rel="shortcut icon" href="../../../../../../favicon.ico" />
    <style type="text/css"></style>
    <title>重置密码</title>
</head>
<body>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script src="../JS/index.js"></script>
    <div id="block"></div>
    <div  style="transform: scale(0.9); ">
        <div class="main-img">
            <div id="white-slip"></div>
            <div id="white-slip-1"></div>
            <img id="cloud" src="../image/cloud.png" alt="">
            <img id="cloud-1" src="../image/cloud.png" alt="">
            <img id="cloud-2" src="../image/cloud.png" alt="">
        </div> 
        <div id="main-box">
            <b class="title">云 淄</b>
            <form id="big-box">
                <div id="from-number">
                    <div id="left-img"> <img id="password" src="../image/密码-1.png" alt=""> </div>
                    <input id="first-form-1" type="text" value=" 请输入新的密码" name="user" onclick="back2()" onblur="reback1()">
                </div>
                <div id="from-number">
                    <div id="left-img"> <img id="password-1" src="../image/密码-1.png" alt=""> </div>
                    <input id="first-form-2" type="text" value=" 请再次输入密码" name="user" onclick="back3()" onblur="reback2()">
                </div>
                <button type="submit" id="main-button" onclick="mainbord()" >set up</button>
            </form>
            <script>
                var app = new Vue({
                  el: "#from-number",
                    data:{   
                        password:" 请输入新的密码",
                        password2:"请再次输入密码"
                        },
                  methods:
                  {
                       submitFrom()
                      {    
                        var that=this;
                        var params = new URLSearchParams();
                        params.append('key', 'value');
                         axios.post("http://wsrubn.natappfree.cc/Home/rs",{password:this.password+'',password2:this.password2+''},{headers: {'Content-Type':'application/x-www-form-urlencoded'}}).then
                        (function(response) {
                          console.log(response.data);
                        },function(err){})
                      }
                  }
              })
            </script>    
                <img style="position: relative;top: -30px;left: 150px; transform: scale(0.16);opacity: 0.8;" src="../image/首页.png" alt="">
                <a href="../../../../../yunzi.html" id="return"><span style="position: relative; top:-18px;left: 110px;">点击返回登陆页面</span></a>
           <a href="../../../../../../HTML/yunzi.html"> <button type="submit" id="main-button-1"  >continue</button></a>
            <div id="box-succee">
                <div><img id="succee" src="../image/注册成功.png" alt=""></div>
                <div id="succee-word">修改成功</div>
            </div>
     

        </div>
        

    
    
    
    </div> 
</body>
</html>